﻿namespace AiMoWindows.GHAiMo
{
    readonly struct GH_ParamSyntaxNodeInfo
    {
        public int Index { get; }
        public string MethodName { get; } // GetTree \ GetList \ GetItem \ SetTree \ SetList \ SetItem
        public string ParamName { get; }
        public string TypeName { get; }

        public string UniqueName => ParamName + MethodName;

        public GH_ParamSyntaxNodeInfo(int index, string methodName, string paramName, string typeName)
        {
            Index = index;
            MethodName = methodName;
            ParamName = paramName;
            TypeName = typeName;
        }
    }
}
